<?php

declare(strict_types=1);
/**
 * This file is part of habo_new_media.
 *
 * @link     https://www.berlen.cn/
 * @contact  tech@berlen.cn
 * @license  http://gitlab.rehou.cn/habo/habo_new_media/-/blob/master/README.md
 */
namespace app\model\mongo;

use think\Model;

class MongoPicModel extends Model
{
    /**
     * @var int 使用状态-已使用
     */
    public const USE_ENABLE = 1;

    /**
     * @var int 使用状态-未使用
     */
    public const USE_DISABLE = 0;

    /**
     * @var int 来源-本地
     */
    public const SOURCE_LOCAL = 0;

    /**
     * @var int 来源-智创
     */
    public const SOURCE_ZHICHUANG = 1;

    protected $connection = 'mongodb';

    protected $name = 'pic';

    protected $pk = '_id';
}
